LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly)

LightControlCommand Constructor(Int32[],Int32[],Int32[],LightControlCommandType)

Show in webframe







An array that contains the new average pixel value for those pixels with values between 0 and the average pixel value for the entire image. The size of the array equals one, if Type is LightControlCommandType.Yuv or LightControlCommandType.Gray, or three, if Type is LightControlCommandType.Rgb. If Type is LightControlCommandType.Rgb the first element corresponds to the new blue lower average value, the second element to the green, and the last element to the red.
An array that contains the new average pixel value for the entire image. The size of the array equals one, if Type is LightControlCommandType.Yuv or LightControlCommandType.Gray, or three, if Type is LightControlCommandType.Rgb. If Type is LightControlCommandType.Rgb the first element corresponds to the new blue average value, the second element to the green, and the last element to the red.
An array that contains the new average pixel value for those pixels with values between the average pixel value for the entire image and the highest pixel value in the image. The size of the array equals either one if Type is LightControlCommandType.Yuv or LightControlCommandType.Gray or three if Type is LightControlCommandType.Rgb where the first element corresponds to the new blue upper side average value, the second element to the green, and the last element to the red.
Flag that indicates which color space to remap.
Initializes a new LightControlCommand class object with explicit parameters.
Syntax
public LightControlCommand( 
   int[] lowerAverage,
   int[] average,
   int[] upperAverage,
   LightControlCommandType type
)
'Declaration
 
Public Function New( _
   ByVal lowerAverage() As Integer, _
   ByVal average() As Integer, _
   ByVal upperAverage() As Integer, _
   ByVal type As LightControlCommandType _
)
'Usage
 
Dim lowerAverage() As Integer
Dim average() As Integer
Dim upperAverage() As Integer
Dim type As LightControlCommandType
 
Dim instance As New LightControlCommand(lowerAverage, average, upperAverage, type)
public LightControlCommand( 
   int[] lowerAverage,
   int[] average,
   int[] upperAverage,
   LightControlCommandType type
)
- (id)initWithLowerAverage:(const unsigned int*)lowerAverage 
        lowerAverageLength:(unsigned int)lowerAverageLength 
                   average:(const unsigned int*)average 
             averageLength:(unsigned int)averageLength 
              upperAverage:(const unsigned int*)upperAverage 
        upperAverageLength:(unsigned int)upperAverageLength 
                      type:(LTLightControlCommandType)type;
            
public LightControlCommand(
   int[] lowerAverage, 
   int[] average, 
   int[] upperAverage, 
   LightControlCommandType type
)
            
function LightControlCommand( 
   lowerAverage ,
   average ,
   upperAverage ,
   type 
)
public:
LightControlCommand( 
   array<int>^ lowerAverage,
   array<int>^ average,
   array<int>^ upperAverage,
   LightControlCommandType type
)

Parameters

lowerAverage
An array that contains the new average pixel value for those pixels with values between 0 and the average pixel value for the entire image. The size of the array equals one, if Type is LightControlCommandType.Yuv or LightControlCommandType.Gray, or three, if Type is LightControlCommandType.Rgb. If Type is LightControlCommandType.Rgb the first element corresponds to the new blue lower average value, the second element to the green, and the last element to the red.
average
An array that contains the new average pixel value for the entire image. The size of the array equals one, if Type is LightControlCommandType.Yuv or LightControlCommandType.Gray, or three, if Type is LightControlCommandType.Rgb. If Type is LightControlCommandType.Rgb the first element corresponds to the new blue average value, the second element to the green, and the last element to the red.
upperAverage
An array that contains the new average pixel value for those pixels with values between the average pixel value for the entire image and the highest pixel value in the image. The size of the array equals either one if Type is LightControlCommandType.Yuv or LightControlCommandType.Gray or three if Type is LightControlCommandType.Rgb where the first element corresponds to the new blue upper side average value, the second element to the green, and the last element to the red.
type
Flag that indicates which color space to remap.
Example
Refer to LightControlCommand.
Requirements

Target Platforms

See Also

Reference

LightControlCommand Class
LightControlCommand Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.